package org.dromara.demo.domain.bo;

import org.dromara.demo.domain.JsExecute;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * execute业务对象 js_execute
 *
 * @author zhu
 * @date 2025-01-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = JsExecute.class, reverseConvertGenerate = false)
public class JsExecuteBo extends BaseEntity {

    /**
     * 执行id
     */
    @NotNull(message = "执行id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 套件id
     */
    @NotNull(message = "套件id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long suiteId;

    /**
     * 套件名称
     */
    private String suiteName;

    /**
     * 状态0未完成，1已完成
     */
    private String status;

    /**
     * 项目编号
     */
    private String projectNo;
    /**
     * 项目名称
     */
    private String projectName;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 执行人姓名
     */
    private String name;
    /**
     * 执行人部门
     */
    private String dept;

    private String testEnvironment;
    private String testRange;

    private String documentInput;
    private String testDescription;
    private String comment;
    private String designOpinion;

    private String versionNo;



}
